package com.b.repository;

import com.b.domain.ProductCategory;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.elasticsearch.core.SearchPage;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface ProductCategoryRepository  extends ElasticsearchRepository<ProductCategory, Integer> {
    SearchPage<ProductCategory> findProductCategoryByTypeLike(String type, PageRequest pageRequest);
}
